package com.ruoyi.employee.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.annotation.Excel.Type;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.UserEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * 店员对象 employee_user
 * 
 * @author ruoyi
 */
public class EmployeeApply extends UserEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long userId;

    /** 关联客户ID */
    private Long customerId;

    /** 关联店员ID */
    private Long employeeId;

    /** 店铺ID */
    private String shopId;

    /** 服务类型 */
    private String serviceType;

    /** 店员标签 */
    private String tags;

    /** openid */
    @NotBlank(message = "openid不能为空")
    private String openId;

    /** 店员自我介绍 */
    private String userProfile;

    /** 店员图片集合 */
    private String images;

    /** 店员录音 */
    private String speech;

    /** 状态 approve已通过 reject已驳回 audit审核中 */
    private String status;

    /** 申请类型 add 新增店员 edit 店员资料修改 */
    private String applyType;

    /** 用户等级 */
    private Long userLevel;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;


    public EmployeeApply()
    {

    }

    public EmployeeApply(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public String getServiceType()
    {
        return serviceType;
    }

    public void setServiceType(String serviceType)
    {
        this.serviceType = serviceType;
    }

    public String getTags()
    {
        return tags;
    }

    public void setTags(String tags)
    {
        this.tags = tags;
    }

    public String getOpenId()
    {
        return openId;
    }

    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getUserProfile()
    {
        return userProfile;
    }

    public void setUserProfile(String userProfile)
    {
        this.userProfile = userProfile;
    }

    public String getImages()
    {
        return images;
    }

    public void setImages(String images)
    {
        this.images = images;
    }

    public String getSpeech()
    {
        return speech;
    }

    public void setSpeech(String speech)
    {
        this.speech = speech;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getApplyType()
    {
        return applyType;
    }

    public void setApplyType(String applyType)
    {
        this.applyType = applyType;
    }

    public Long getUserLevel()
    {
        return userLevel;
    }

    public void setUserLevel(Long userLevel)
    {
        this.userLevel = userLevel;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("customerId", getCustomerId())
            .append("employeeId", getEmployeeId())
            .append("shopId", getShopId())
            .append("userName", getUserName())
            .append("phonenumber", getPhonenumber())
            .append("wxId", getWxId())
            .append("sex", getSex())
            .append("avatar", getAvatar())
            .append("serviceType", getServiceType())
            .append("birthday", getBirthday())
            .append("constellation", getConstellation())
            .append("tags", getTags())
            .append("openId", getOpenId())
            .append("userProfile", getUserProfile())
            .append("address", getAddress())
            .append("addressCode", getAddressCode())
            .append("coordinate", getCoordinate())
            .append("images", getImages())
            .append("speech", getSpeech())
            .append("status", getStatus())
            .append("applyType", getApplyType())
            .append("shopInfo", getShopInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
